Barcode Xpress for .NET v13 - Updated
Upgrading Runtime Licensing
User Guide > Licensing and Distributing > Upgrading Runtime Licensing

This section describes how to upgrade to Accusoft’s new Runtime Licensing.

Prior to Barcode Xpress 8, runtime licensing was accomplished using the UnlockRuntime method.

In Barcode Xpress 8 and later, the default licensing model is Automatically Reported Runtime Licensing. However, based on your contracted usage of this software, you may be eligible for Manually Reported Runtime Licensing. Your Accusoft Sales Representative (sales@accusoft.com) can help you determine which model is appropriate.

Refer to the following sections for information about upgrading to the new Runtime Licensing models:

Changing to Automatically Reported Runtime Licensing

Automatically Reported Runtime requires a license to be installed on the end-user's machine. See the Licensing section for more information.

In your Barcode Xpress 7 codebase, find any existing calls to the UnlockRuntime method.

C#
Copy Code
 barcodeXpress1.License.UnlockRuntime(12345,12345,12345,12345);
VB.NET
Copy Code
 barcodeXpress1.License.UnlockRuntime(12345,12345,12345,12345)

In your Barcode Xpress 8 or later codebase, replace the UnlockRuntime method with calls to the SetSolutionName and SetSolutionKey methods.

C#
Copy Code
 barcodeXpress1.Licensing.SetSolutionName("YourSolutionName");
 barcodeXpress1.Licensing.SetSolutionKey(12345,12345,12345,12345);
VB.NET
Copy Code
 barcodeXpress1.Licensing.SetSolutionName("YourSolutionName")
 barcodeXpress1.Licensing.SetSolutionKey(12345,12345,12345,12345)

Changing to Manually Reported Runtime Licensing

In your Barcode Xpress 7 codebase, find any existing calls to the UnlockRuntime method.

C#
Copy Code
barcodeXpress1.License.UnlockRuntime(12345,12345,12345,12345);
VB.NET
Copy Code
barcodeXpress1.License.UnlockRuntime(12345,12345,12345,12345)

In your Barcode Xpress 8 or later codebase, replace the UnlockRuntime method with calls to the SetSolutionName, SetSolutionKey, and SetOEMLicenseKey methods.

C#
Copy Code
barcodeXpress1.Licensing.SetSolutionName("YourSolutionName");
barcodeXpress1.Licensing.SetSolutionKey(12345,12345,12345,12345);
barcodeXpress1.Licensing.SetOEMLicenseKey("2.0.AStringForOEMLicensing…");
VB.NET
Copy Code
barcodeXpress1.Licensing.SetSolutionName("YourSolutionName")
barcodeXpress1.Licensing.SetSolutionKey(12345,12345,12345,12345)
barcodeXpress1.Licensing.SetOEMLicenseKey("2.0.AStringForOEMLicensing…")

There is no longer a separate method for web licensing. That functionality has been integrated into the SetOEMLicenseKey method.

 

If you encounter any porting issues, please contact support@accusoft.com for assistance.